unit test_together_working;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Work_With_Logging;

type
  TForm1 = class(TForm)
    procedure FormCreate(Sender: TObject);
    procedure FormDestroy(Sender: TObject);
    procedure FormClick(Sender: TObject);
  private
    { Private declarations }
    myLog:TLogging_Form;
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
    myLog:=TLogging_Form.Create(nil);
end;

procedure TForm1.FormDestroy(Sender: TObject);
begin
    myLog.Free;
end;

procedure TForm1.FormClick(Sender: TObject);
begin
    myLog.WriteLog('Test!');
end;

end.
